package com.example.design.shejimoshi.action.visitor.practice2.visit;

import com.example.design.shejimoshi.action.visitor.practice2.element.TianHeCuCCPlusCardStatusResource;
import com.example.design.shejimoshi.action.visitor.practice2.element.ZhuHaiCardStatusResource;
import lombok.extern.slf4j.Slf4j;

/**
 * @Description 查询卡状态业务
 * @Author liuzhihui
 * @Date 2024/6/26
 */
@Slf4j
public class QueryCardStatusVisitor implements Visitor {
    @Override
    public void visit(TianHeCuCCPlusCardStatusResource tianHeCuCCPlusCardStatusResource) {
        log.info("天河联通查询卡状态");
    }

    @Override
    public void visit(ZhuHaiCardStatusResource tianHeCuCCPlusCardStatusResource) {
        log.info("珠海联通查询卡状态");
    }
}
